<template>
	<view>
		<div class='tips'>账号维护</div>
		<div class='setBox'>
			<u-cell-group>
				<u-cell  title="修改登录密码" :isLink="true" url='/pages/Center/Set/changePassword' :border='false'></u-cell>
			</u-cell-group>
			<u-cell-group>
				<u-cell  title="修改绑定手机" :isLink="true" url='/pages/Center/Set/changePhone' >
					<view slot="value" class="u-slot-title">
						<u--text mode="phone" :text="phone" format="encrypt"></u--text>
					</view>
				</u-cell>
			</u-cell-group>
		</div>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				userdata:[],
				phone:null
			}
		},
		onLoad() {
			this.userdata = uni.getStorageSync("userInfo");
			this.phone = this.userdata.phone
		}
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #F4F4F4;
	}
	.tips{
		padding: 30upx;
		font-size: 26upx;
		color: #999999;
	}
	.setBox{
		background-color: #fff;
	}
</style>